package sjd.ahsj.springbootmybatisplusoracle.model;

import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import sjd.ahsj.springbootmybatisplusoracle.entity.Anime;
import sjd.ahsj.springbootmybatisplusoracle.entity.AnimeBuy;
import sjd.ahsj.springbootmybatisplusoracle.entity.Section;

import java.util.List;

/**
 * @author zhanghaogao
 * @create 2018-09-18 下午2:01
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AnimeInfo {
    @ApiModelProperty("漫画信息")
    private Anime anime;
    @ApiModelProperty("漫画章节")
    private List<Section> sections = Lists.newArrayList();
    @ApiModelProperty("当前阅读到的最新章节")
    private Long read;
    @ApiModelProperty("已购买的章节")
    private List<Object> animeBuys = Lists.newArrayList();
    @ApiModelProperty("是否订阅，0：未订阅，1:已订阅")
    private  int isSubscription;
}
